package com.atguigu.yygh.cmn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


/**
 * 字典api接口服务
 *
 * @author starsea
 * @date 2022-01-24
 */
//@EnableDiscoveryClient
@ComponentScan(basePackages = "com.atguigu")
@SpringBootApplication
@MapperScan("com.atguigu.yygh.hosp.mapper")
@EnableDiscoveryClient
public class ServiceCmnApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceCmnApplication.class, args);
    }

}
